package com.example.mes_sys.repository;

import com.example.mes_sys.po.SysUserRoleRelationPo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface SysUserRoleRelationRepository extends JpaRepository<SysUserRoleRelationPo, Long> {
    Optional<List<SysUserRoleRelationPo>> findByUserId(Long userId);
}
